import React, { Component } from 'react'
// react 组件 css-in-js
// styled-components

import styled from 'styled-components'
const Button = styled.button`
  height: 50px;
  color: #f66;
`
const Img = styled.img`
  height: 50px;
  width: 50px;
`
export default class componentName extends Component {
  render() {
    return (
      <div>
        <Button>css in js</Button>
        <Img src="https://img0.baidu.com/it/u=1631582372,4013670020&fm=11&fmt=auto&gp=0.jpg" />
      </div>
    )
  }
}
